<%@ include file="/common/taglibs.jspf" %>
<tiles:insertDefinition name="windowLayout">
	<tiles:putAttribute name="title">Preferences</tiles:putAttribute>
	<tiles:putAttribute name="content">
		<s:form>
			<s:textfield label="Picture path" id="picturesPath" name="preferences.picturesPath" />
			<s:url var="nodesUrl" action="get-nodes" namespace="/ajax/tree" />
			
			<div style="float:left; margin-right: 50px;">
				<sx:tree id="tree" href="%{#nodesUrl}" onclick="alert('toto')" />
			</div>
			<s:submit value="Save" />
		</s:form>
	</tiles:putAttribute>
</tiles:insertDefinition>